﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ExplorerInfrastructure;
using System.Windows;

namespace BBInterfaceNET.Services
{
    public class DictionaryMergingService:IDictionaryMergingService
    {
        ResourceDictionary appDict;
        public DictionaryMergingService(ResourceDictionary appDictionary)
        {
            appDict = appDictionary;
        }
        public void MergeDictionary(System.Windows.ResourceDictionary dictionary)
        {
            appDict.MergedDictionaries.Add(dictionary);
        }
    }
}
